<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head> 
   <meta charset="UTF-8">
   <%@ include file="/WEB-INF/views/include/head.jsp"%>
   <link rel="stylesheet" href="${ctxStatic}/css/common_erp.css">
   <link rel="stylesheet" href="${ctxStatic}/css/layerSm.css">
   <script src="${ctxStatic}/js/jquery-1.9.1.min.js"></script>
   <script src="${ctxStatic}/js/layer.js"></script>
   <script src="${ctxStatic}/js/style.js"></script>
   <script>
   </script>
</head>
<body>
<div class="layerHeader clearfix">
	<p class="headerTitle"><spring:message code="quality_instructions" /></p>
    <div class="headerButton clearfix">
        <!-- 取消 -->
        <button type="button" onclick="closeWin();"><spring:message code="inventory_detail_set_close" /></button>
    </div>
</div>
<form id="inputForm" method="post">
<div class="tableArea" style="padding: 0px 0px 0px 0px;">
    <div class="tableScrollSm" style="overflow:auto;width:1020px;height:544px;">
        <table cellpadding="0" class="tableHead">
            <thead>
            <tr>
                <!-- No -->
                <th><p class="tab-ddcz"><spring:message code="common_no" /></p></th>
                <!-- 生产制单号 -->
                <th><p style="width:140px;"><spring:message code="produce_workticket_detail_produtionNo" /></p></th>
                <!-- 合同号 -->
                <th><p style="width:140px;"><spring:message code="produce_workticket_detail_contractNo" /></p></th>
                <!-- 生产号 -->
                <th><p style="width:140px;"><spring:message code="produce_workticket_detail_styleNo" /></p></th>
                <!-- 订单号 -->
                <th><p style="width:144px;"><spring:message code="produce_workticket_detail_orderNo" /></p></th>
                <!-- 工序名称 -->
                <th><p style="width:160px;"><spring:message code="produce_workticket_detail_operatingName" /></p></th> 
                <!-- 人员-->
                <th><p style="width:100px;"><spring:message code="produce_workticket_detail_user" /></p></th>
                <!-- 日期 -->
                <th><p style="width:120px;"><spring:message code="produce_workticket_detail_date" /></p></th>                              
            </tr>
            </thead>
        </table>
        <table cellpadding="0" class="tableBody" id="tableInventoryRequestDetails">
        <c:if test="${not empty workticketDetailList}">
            <tbody>
            <c:forEach items="${workticketDetailList}" var="detailList" varStatus="status">
            <tr>
               <!-- No -->
                <td><p class="tab-ddcz">${status.index+1}</p></td>
                <!-- 生产制单号 -->
                <td><p style="width:140px;">${detailList.productionEntity.productionNo }</p></td>
                <!-- 合同号 -->
                <td><p style="width:140px;">${detailList.contractCustomEntity.contractNo }</p></td>
                <!-- 生产号 -->
                <td><p style="width:140px;">${detailList.styleEntity.styleNo }</p></td>
                <!-- 订单号 -->
                <td><p style="width:144px;">${detailList.orderEntity.orderNo }</p></td>
                <!-- 工序名称 -->
                <td><p style="width:160px;">${detailList.operatingPEntity.itemNameCn }</p></td>      
                <!-- 人员-->
                <td><p style="width:100px;">${detailList.updateBy.firstName }${detailList.updateBy.lastName }</p></td>
                <!-- 日期 -->
                <td><p style="width:120px;"><fmt:formatDate value="${detailList.updateDate }" pattern="yyyy-MM-dd HH:mm"/></p></td>  
            </tr>
            </c:forEach>
            </tbody>
        </c:if>    
        </table>
    </div>
</div>
</form>
</body>
</html>